<%@include file="../header.jsp"%>

<!-- start content-outer -->
<div id="content-outer"><!-- start content -->
<div id="content">
<div id="page-heading">
<h1>Pencatatan Bimbingan TA - ${idUser} </h1>
</div>
<table id="content-table" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<th rowspan="3" class="sized"><img src="images/shared/side_shadowleft.jpg" alt="" height="300" width="20" /></th>
<th class="topleft"></th>
<td id="tbl-border-top">&nbsp;</td>
<th class="topright"></th>
<th rowspan="3" class="sized"><img src="images/shared/side_shadowright.jpg" alt="" height="300" width="20" /></th>
</tr>
<tr>
<td id="tbl-border-left"></td>
<td><!-- start content-table-inner -->
<div id="content-table-inner">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr valign="top">
<td><!-- start step-holder -->
<!-- end step-holder -->
<!-- start id-form -->
<script>
function validateFormBimbingan()
{
if (document.formBimbingan.tglBimbingan.value=="")
  {
  alert("Tanggal bimbingan harus diisi !");
  document.formBimbingan.tglBimbingan.focus();
  return false;
  }
else if (document.formBimbingan.judulBimbingan.value == "")
  {
  alert("Judul Bimbingan harus diisi !");
  document.formBimbingan.judulBimbingan.focus();
  return false;
  }
else if (document.formBimbingan.isiBimbingan.value == "")
  {
  alert("Isi bimbingan harus diisi !");
  document.formBimbingan.isiBimbingan.focus();
  return false;
  }
else if (document.formBimbingan.pembimbing.value == "0")
  {
  alert("Nama pembimbing harus diisi !");
  document.formBimbingan.pembimbing.focus();
  return false;
  }
}
</script>
<table id="id-form" border="0" cellpadding="0" cellspacing="0">
<form name="formBimbingan" action="SidangTAController?page=rekamBimbinganTA" onSubmit="return validateFormBimbingan()" method="post">    
<tbody>
<tr>
<th width="130" valign="top">Tanggal <font color="red">*</font></th>
<td width="29" valign="middle" align="center">:</td>
<td width="403">
    <input name="idTA" value="${idTA}" type="hidden"></input>
    <input id="tanggalMulai" name="tglBimbingan" class="inp-form" type="text" />
</td>
<td width="187" ></td>
</tr>
<tr>
<th width="130" valign="top">Judul Bimbingan <font color="red">*</font></th>
<td width="29" valign="middle" align="center">:</td>
<td width="403">
    <input name="judulBimbingan" class="inp-form" type="text" />
</td>
<td width="187" ></td>
</tr>
<tr>
  <th valign="middle">Isi Bimbingan <font color="red">*</font></th>
  <td valign="middle" align="center">:</td>
  <td><textarea name="isiBimbingan" rows="" cols="" class="form-textarea"></textarea></td>
  <td></td>
</tr>
<tr>
  <th valign="top">Pembimbing <font color="red">*</font></th>
  <td valign="middle" align="center">:</td>
  <td><select name="pembimbing" class="styledselect_form_1">
    <option value="0" >--pilih pembimbing--</option>
    <c:forEach items="${listPembimbing1}" var="listPembimbing1" >
        <c:if test="${(listPembimbing1.user.idUser == pembimbing1)}">
    <option value="${listPembimbing1.user.idUser}">${listPembimbing1.user.namaUser}</option>
        </c:if>
    </c:forEach>
    <c:forEach items="${listPembimbing2}" var="listPembimbing2" >
        <c:if test="${(listPembimbing2.user.idUser == pembimbing2)}">
    <option value="${listPembimbing2.user.idUser}">${listPembimbing2.user.namaUser}</option>
        </c:if>
    </c:forEach>
  </select></td>
  <td></td>
</tr>
<tr>
  <th><font color="red">* = Wajib diisi</font></th>
  <td valign="top">&nbsp;</td>
  <td valign="top"> <input value="" class="form-catat" type="submit" />
  <td></td>
</tr>
</tbody>
</form>
</table>
<!-- end id-form --> </td>
<td><!-- start related-activities -->

</tr>
<tr>
<td><img src="images/shared/blank.gif" alt="blank" height="1" width="695" /></td>
<td></td>
</tr>
</tbody>
</table>
<div class="clear"></div>
</div>
<!-- end content-table-inner -->
</td>
<td id="tbl-border-right"></td>
</tr>
<tr>
<th class="sized bottomleft"></th>
<td id="tbl-border-bottom">&nbsp;</td>
<th class="sized bottomright"></th>
</tr>
</tbody>
</table>
<div class="clear">&nbsp;</div>
</div>
<!-- end content -->
<div class="clear">&nbsp;</div>
</div>
<!-- end content-outer -->
<div class="clear">&nbsp;</div>
<!-- start footer -->
<div id="footer"><!-- start footer-left -->
<div id="footer-left"> Admin Skin © Copyright Internet
Dreams Ltd. <a href="">www.netdreams.co.uk</a>. All
rights reserved.</div>
<!-- end footer-left -->
<div class="clear">&nbsp;</div>
</div>
<!-- end footer -->
</body></html>